const colors = ["#00ba78", "#ff3653", "#fe8917", "#fa80ff", "#087DFF", "#434AD8", "#8E77F5", "#009a78", "#aa80ff"];
const colorDic = {};
var lastIdx = 0;
export function getColor(key) {
	var color = colorDic[key];
	if (!color) {
		color = colors[lastIdx % colors.length];
		colorDic[key] = color;
		lastIdx++;
	}
	return color;
}